Contribution org.nuxeo.ecm.user.center.profile.layouts--widgets
In component org.nuxeo.ecm.user.center.profile.layouts
org.nuxeo.ecm.user.center.profile.layouts
inside nuxeo-user-profile-jsf-8.10.jar /OSGI-INF/layouts-contrib.xml
This contribution is part of XML component Extension Point
Extension point widgets of component WebLayoutManager.Contributed Items
XML Source
<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
<widget name="summary_user_profile" type="summary_user_profile"/>
<widget name="summary_user_preferences" type="summary_user_preferences"/>
<widget name="avatar" type="avatar">
<labels>
<label mode="any">label.userprofile.avatar</label>
</labels>
<translated>true</translated>
<helpLabels>
<label mode="edit">
helplabel.userprofile.avatar
</label>
</helpLabels>
<fields>
<field/>
<field>userprofile:avatar</field>
</fields>
<properties mode="any">
<property name="file_property_name">userprofile:avatar</property>
</properties>
</widget>
<widget name="birthdate" type="datetime">
<labels>
<label mode="any">label.userprofile.birthdate</label>
</labels>
<translated>true</translated>
<helpLabels>
<label mode="edit">
helplabel.userprofile.birthdate
</label>
</helpLabels>
<fields>
<field>userprofile:birthdate</field>
</fields>
<properties widgetMode="any">
<property name="pattern">#{nxu:basicDateFormatter()}</property>
</properties>
<properties widgetMode="edit">
<property name="format">#{nxu:basicDateFormatter()}</property>
</properties>
</widget>
<widget name="phonenumber" type="text">
<labels>
<label mode="any">label.userprofile.phonenumber</label>
</labels>
<translated>true</translated>
<fields>
<field>userprofile:phonenumber</field>
</fields>
<properties widgetMode="edit">
<property name="styleClass">dataInputText</property>
</properties>
</widget>
<widget name="gender" type="template">
<labels>
<label mode="any">label.userprofile.gender</label>
</labels>
<translated>true</translated>
<fields>
<field>userprofile:gender</field>
</fields>
<properties mode="any">
<property name="template">/widgets/gender_widget_template.xhtml
</property>
</properties>
</widget>
<widget name="locale_view" type="text">
<labels>
<label mode="any">label.userpreferences.locale</label>
</labels>
<translated>true</translated>
<fields>
<field>userprofile:locale</field>
</fields>
<widgetModes>
<mode value="view">view</mode>
<mode value="any">hidden</mode>
</widgetModes>
</widget>
<widget name="locale" type="selectOneMenu">
<labels>
<label mode="any">label.userpreferences.locale</label>
</labels>
<translated>true</translated>
<fields>
<field>userprofile:locale</field>
</fields>
<properties widgetMode="any">
<property name="notDisplayDefaultOption">false</property>
</properties>
<selectOptions>
<options itemLabel="#{item.label}" itemValue="#{item.value}" ordering="label" value="#{localeSelector.supportedLocales}" var="item"/>
</selectOptions>
<widgetModes>
<mode value="edit">edit</mode>
<mode value="any">hidden</mode>
</widgetModes>
</widget>
<widget name="timezone" type="template">
<labels>
<label mode="any">label.userpreferences.timezone</label>
</labels>
<translated>true</translated>
<widgetModes>
<mode value="view">view</mode>
<mode value="any">hidden</mode>
</widgetModes>
<properties mode="any">
<property name="template">/widgets/timezone_widget_template.xhtml
</property>
</properties>
</widget>
<widget name="userProfile" type="layout">
<properties widgetMode="any">
<property name="name">userprofile</property>
</properties>
</widget>
</extension>